<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>消息框</title>
</head>
<body>
<div type="button" fn="$z.messager.alert('被点击');">点击打开一个信息框</div>
<div type="button" fn="$z.messager.confirm('您确定要继续下面的操作吗？',function(){$z.messager.alert('您选择了继续执行！');})">打开一个确认</div>
</body>
</html>